package org.edu.zzu.health_report.service;

import org.edu.zzu.health_report.domain.Record;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 高朋
* @description 针对表【record(打卡记录表)】的数据库操作Service
* @createDate 2021-11-08 16:18:21
*/
public interface RecordService extends IService<Record> {

    /**
     * 查询指定日期的最新记录
     * @param userId
     * @param date
     * @return
     */
    Record getByDate(String userId,Long date);

}
